 package com.oanda.blackberry.restapi;
 
 import java.util.Hashtable;
 
 public class ReturnValues
 {
   static
   {
     Hashtable errors = new Hashtable();
     errors.put("1", "access denied");
     errors.put("2", "account busy");
     errors.put("3", "account locked");
     errors.put("4", "account not tradable");
     errors.put("5", "bad request");
     errors.put("6", "data already exists");
     errors.put("7", "insufficient funds");
     errors.put("8", "insufficient margin");
     errors.put("9", "internal server error");
     errors.put("10", "invalid account");
     errors.put("11", "invalid api key");
     errors.put("12", "invalid close arg");
     errors.put("13", "invalid currency");
     errors.put("14", "invalid duration");
     errors.put("15", "invalid id");
     errors.put("16", "invalid order id");
     errors.put("17", "invalid position number");
     errors.put("18", "invalid price");
     errors.put("19", "invalid stop loss");
     errors.put("20", "invalid symbol");
     errors.put("21", "invalid take profit");
     errors.put("22", "invalid ticket number");
     errors.put("23", "invalid trade id");
     errors.put("24", "invalid trailing stop");
     errors.put("25", "invalid transaction id");
     errors.put("26", "invalid units");
     errors.put("27", "invalid user");
     errors.put("28", "invalid user id");
     errors.put("29", "markup error");
     errors.put("30", "max accounts");
     errors.put("31", "max trades");
     errors.put("32", "no new position");
     errors.put("33", "no quotes avaliable");
     errors.put("34", "no rate");
     errors.put("35", "not found");
     errors.put("36", "not logged in");
     errors.put("37", "profile error");
     errors.put("38", "quotes expired");
     errors.put("39", "rate limit exceeded");
     errors.put("40", "service unavailable");
     errors.put("41", "symbol halted");
     errors.put("42", "too many markups");
     errors.put("43", "trade above limit");
     errors.put("44", "trade below limit");
     errors.put("45", "system in maintenance");
   }
}

